# Compile option for SDL
CFLAGS = -W -ggdb `sdl-config --cflags --libs` -lSDL -lSDL_image -lSDL_mixer
CC = gcc

source_dir = src

all: cy

cy : $(source_dir)/*.cpp
	g++ $(CFLAGS) -o cy $(source_dir)/game.cpp $(source_dir)/game_config.cpp \
	$(source_dir)/image.cpp $(source_dir)/preferences.cpp $(source_dir)/cursor.cpp \
	$(source_dir)/loadscreen.cpp $(source_dir)/font.cpp $(source_dir)/sound.cpp 
	


clean:
	rm cy
